package org.chen.common.scene.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName("scene_attractions")
public class Attraction {
    @TableId(type = IdType.AUTO)
    private Long id;
    
    private Long poiId;
    private String poiName;
    private Long districtId;
    private String districtName;
    private Integer commentCount;
    private BigDecimal commentScore;
    private String sightLevel;
    private String coverImageUrl;
    private BigDecimal marketPrice;
    private BigDecimal price;
    private String priceType;
    private String priceTypeDesc;
    private Boolean isFree;
    private BigDecimal latitude;
    private BigDecimal longitude;
    private String coordinateType;
    private String heatScore = "0";
    private String detailUrl;
    private String visitHours;
    private String shortFeatures;
    private String sightCategoryInfo;
    private Boolean detailFetched;
    /**
     * 景点介绍
     */
    private String introduction;

    /**
     * 开放时间
     */
    private String openingHours;

    /**
     * 景点图片URLs，多个URL用逗号分隔
     */
    @TableField("images")
    private String images;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdTime;
    
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updatedTime;
}